home *** CD-ROM | disk | FTP | other *** search
- global gPanoMovieID, gPanoMovieObj, gVR.NodeID, gVR.HPanAngle, gVR.VPanAngle, gVR.ZoomAngle, gVR.Quality
-
- on mouseUp
- if the machineType = 256 then
- if objectp(gPanoMovieObj) then
- set tCurrentNodeID to gPanoMovieObj(mGetNodeID)
- if gVR.NodeID <> tCurrentNodeID then
- SetPanoNode(gVR.NodeID, 0)
- end if
- end if
- else
- if gPanoMovieID <> EMPTY then
- set tCurrentNodeID to PanoMovie("Direct", gPanoMovieID, "Get", "nodeID")
- if gVR.NodeID <> tCurrentNodeID then
- SetPanoNode(gVR.NodeID, 0)
- end if
- end if
- end if
- SetPanoMovieView(gVR.HPanAngle, gVR.VPanAngle, gVR.ZoomAngle, gVR.Quality)
- end
-